/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.app.mockexam.special.record.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.CrudService;
import com.jeesite.modules.app.mockexam.special.record.entity.AppMockexamSpecialRecord;
import com.jeesite.modules.app.mockexam.special.record.dao.AppMockexamSpecialRecordDao;

/**
 * 专项练习记录Service
 * @author zpp
 * @version 2020-02-17
 */
@Service
@Transactional(readOnly=true)
public class AppMockexamSpecialRecordService extends CrudService<AppMockexamSpecialRecordDao, AppMockexamSpecialRecord> {
	
	/**
	 * 获取单条数据
	 * @param appMockexamSpecialRecord
	 * @return
	 */
	@Override
	public AppMockexamSpecialRecord get(AppMockexamSpecialRecord appMockexamSpecialRecord) {
		return super.get(appMockexamSpecialRecord);
	}
	
	/**
	 * 查询分页数据
	 * @param appMockexamSpecialRecord 查询条件
	 * @param appMockexamSpecialRecord.page 分页对象
	 * @return
	 */
	@Override
	public Page<AppMockexamSpecialRecord> findPage(AppMockexamSpecialRecord appMockexamSpecialRecord) {
		return super.findPage(appMockexamSpecialRecord);
	}
	
	/**
	 * 保存数据（插入或更新）
	 * @param appMockexamSpecialRecord
	 */
	@Override
	@Transactional(readOnly=false)
	public void save(AppMockexamSpecialRecord appMockexamSpecialRecord) {
		super.save(appMockexamSpecialRecord);
	}
	
	/**
	 * 更新状态
	 * @param appMockexamSpecialRecord
	 */
	@Override
	@Transactional(readOnly=false)
	public void updateStatus(AppMockexamSpecialRecord appMockexamSpecialRecord) {
		super.updateStatus(appMockexamSpecialRecord);
	}
	
	/**
	 * 删除数据
	 * @param appMockexamSpecialRecord
	 */
	@Override
	@Transactional(readOnly=false)
	public void delete(AppMockexamSpecialRecord appMockexamSpecialRecord) {
		super.delete(appMockexamSpecialRecord);
	}
	
}